.main-content-tabs {
    width: 100%;
    height: 100%;
}
.main-content-tabs .ant-tabs-content.ant-tabs-content-top {
    height: 100%;
}
.main-content-tabs .ant-tabs-ink-bar {
    background: var(--Colors-Use-Main-Primary);
}

.flex-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}
.flex-card .ant-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

// 首页Tabs组件相关样式
.yakit-layout-tabs.ant-tabs {
    .ant-tabs-nav {
        margin: 0;
        background: var(--Colors-Use-Neutral-Bg);
    }
    .ant-tabs-tab-btn {
        color: var(--Colors-Use-Neutral-Text-1-Title);
        font-size: 11px;
        line-height: 16px;
    }
    .ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn {
        color: var(--Colors-Use-Neutral-Text-1-Title);
    }
    .ant-tabs-tab-remove {
        padding: 0 6px;
        margin-left: 10px;
        height: 16px;
        line-height: 16px;
        display: flex;
        align-items: center;
    }
}
.yakit-layout-tabs.ant-tabs-card.ant-tabs-small > .ant-tabs-nav .ant-tabs-tab {
    padding: 4px 8px;
    border-width: 0;
    border-right: 1px solid var(--Colors-Use-Neutral-Border);
    border-bottom: 1px solid var(--Colors-Use-Neutral-Border);
}
.yakit-layout-tabs.ant-tabs-card.ant-tabs-top > .ant-tabs-nav .ant-tabs-tab-active {
    border-top: 2px solid var(--Colors-Use-Main-Primary);
    border-bottom: 0;
    background: var(--Colors-Use-Neutral-Bg);
}
.yakit-layout-tabs.ant-tabs > .ant-tabs-nav .ant-tabs-nav-more {
    padding: 0 16px;
}
.yakit-layout-tabs.ant-tabs-card.ant-tabs-top > .ant-tabs-nav .ant-tabs-tab + .ant-tabs-tab {
    margin-left: 0;
}
.yakit-layout-tabs.ant-tabs-card > .ant-tabs-nav .ant-tabs-tab {
    transition: none;
    background: var(--Colors-Use-Neutral-Bg-Hover);
}

/* MainOperator页样式 */
.yakit-main-layout {
    width: 100%;
    height: 100%;
}

.dropdown-menu-user-info {
    padding: 16px;
    display: flex;
    &:hover {
        background-color: var(--Colors-Use-Neutral-Bg-Hover);
    }
    .author-upload-dragger {
        border: transparent;
        background-color: transparent;
        .ant-upload {
            padding: 0px;
        }
    }
    .img-box {
        margin: auto;
        position: relative;
        .hover-icon {
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translateX(-50%) translateY(-50%);
            color: var(--Colors-Use-Neutral-Text-1-Title);
            z-index: 2;
            display: none;
        }
    }
    .img-box:hover {
        .hover-icon {
            display: inline-block;
        }
        .img-box-mask::before {
            content: "";
            position: absolute;
            border-radius: 50%;
            left: 0;
            right: 0;
            bottom: 0;
            top: 0;
            background-color: var(--Colors-Use-Basic-Background);
            z-index: 1;
        }
    }
    .content-box {
        min-width: 80px;
        margin-left: 8px;
        .user-name {
            font-weight: 500;
            font-size: 14px;
            line-height: 20px;
            color: var(--Colors-Use-Neutral-Text-1-Title);
            margin-bottom: 2px;
        }
        .user-admin-icon {
            position: relative;
            top: 2px;
        }
        .permission-show {
            font-weight: 400;
            line-height: 16px;
            font-size: 12px;
            color: var(--Colors-Use-Neutral-Text-3-Secondary);
            display: inline-block;
            padding-right: 4px;
        }
    }
}

.yakit-layout-tabs .no-theme-tabs.ant-tabs {
    .ant-tabs-nav {
        margin: 0;
        background: var(--Colors-Use-Neutral-Bg);
    }
    .ant-tabs-tab-btn {
        color: var(--Colors-Use-Neutral-Text-1-Title);
        font-size: 12px;
        font-weight: 600;
        line-height: 16px;
    }
    .ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn {
        color: var(--Colors-Use-Main-Primary);
    }
    .ant-tabs-tab-remove {
        padding: 0 6px;
        margin-left: 10px;
        height: 16px;
        line-height: 16px;
        display: flex;
        align-items: center;
    }
    .ant-tabs-tabpane {
        padding: 0;
    }
}
.yakit-layout-tabs .no-theme-tabs.ant-tabs-card.ant-tabs-small > .ant-tabs-nav .ant-tabs-tab {
    padding: 8px 8px;
    border-width: 0;
    background-color: var(--Colors-Use-Neutral-Bg);
    border-right: 1px solid var(--Colors-Use-Neutral-Border);
    border-bottom: 1px solid var(--Colors-Use-Neutral-Border);
}
.yakit-layout-tabs .no-theme-tabs.ant-tabs-card.ant-tabs-top > .ant-tabs-nav .ant-tabs-tab-active {
    border-bottom: 2px solid var(--Colors-Use-Main-Primary);
    background: var(--Colors-Use-Main-Bg);
}
.yakit-layout-tabs .no-theme-tabs.ant-tabs > .ant-tabs-nav .ant-tabs-nav-more {
    padding: 0 16px;
}
.yakit-layout-tabs .no-theme-tabs.ant-tabs-card.ant-tabs-top > .ant-tabs-nav .ant-tabs-tab + .ant-tabs-tab {
    margin-left: 0;
}
.yakit-layout-tabs .no-theme-tabs.ant-tabs > .ant-tabs-nav .ant-tabs-nav-add {
    margin-left: 0;
    border-left-width: 0;
}
.yakit-layout-tabs .no-theme-tabs.ant-tabs-card > .ant-tabs-nav .ant-tabs-tab {
    transition: none;
}

.chat-icon-wrapper {
    position: absolute;
    top: calc(100% - 53px);
    right: 0px;
    width: 105px;
    height: 43px;
    will-change: transform;
    cursor: pointer;
    transition: all 0.4s ease 0s;
    transform-origin: 100% 0;
    transform: translateX(75px);
    z-index: 9999;

    img {
        width: 100%;
    }
}
.chat-icon-wrapper:hover {
    transition: all 0.4s ease 0s;
    transform: translateX(0px);
    -webkit-transform: translateX(0px);
}

// -------------------- UpdateForward --------------------
.update-forward-wrapper {
    color: var(--Colors-Use-Neutral-Text-1-Title);
    .title-style {
        font-size: 16px;
        font-weight: 600;
        line-height: 30px;
    }
    .content-style {
        line-height: 20px;
    }
    .highlight-style {
        color: var(--Colors-Use-Error-Bg);
        line-height: 30px;
    }
}
